package com.txzhang.service;

import com.txzhang.annotations.Autowired;
import com.txzhang.annotations.Service;
import com.txzhang.entity.StudentEntity;

/**
 * @author txzhang
 * @date 2021/5/27 14:01
 */
@Service
public class StudentService {

    @Autowired
    private TestService testService;

    public StudentEntity getStudent() {
        StudentEntity studentEntity = new StudentEntity();
        studentEntity.setAge(23);
        studentEntity.setEmail("1@1.com");
        studentEntity.setName("张三");
        studentEntity.setWeight(75);
        return studentEntity;
    }

    public String getJson() {
        return testService.getJson();
    }
}
